from django.shortcuts import render
from django.http import *
from django.contrib.auth import authenticate, login

# Create your views here.
def index(request):
	if request.user.is_authenticated():
		return render(request, 'main/authenticated.html', {"user" : request.user})
	else:
		return render(request, 'main/logged_out.html')
